package com.yunche.iov.mapper;

import com.yunche.iov.entity.DeviceFenceCategory;
import com.yunche.iov.entity.DeviceFenceCategoryExample;
import com.yunche.iov.entity.DeviceFenceCategoryKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceFenceCategoryMapper {
    int countByExample(DeviceFenceCategoryExample example);

    int deleteByExample(DeviceFenceCategoryExample example);

    int deleteByPrimaryKey(DeviceFenceCategoryKey key);

    int insert(DeviceFenceCategory record);

    int insertSelective(DeviceFenceCategory record);

    List<DeviceFenceCategory> selectByExample(DeviceFenceCategoryExample example);

    DeviceFenceCategory selectByPrimaryKey(DeviceFenceCategoryKey key);

    int updateByExampleSelective(@Param("record") DeviceFenceCategory record, @Param("example") DeviceFenceCategoryExample example);

    int updateByExample(@Param("record") DeviceFenceCategory record, @Param("example") DeviceFenceCategoryExample example);

    int updateByPrimaryKeySelective(DeviceFenceCategory record);

    int updateByPrimaryKey(DeviceFenceCategory record);
}